package com.yanggu.scala.chapater10

object MapDemo01 {

  def main(args: Array[String]): Unit = {
    //scala中的map默认是不可变的也就是immutable.Map
    //Map中可以指定泛型
    //Map的底层就是Tuple2
    val map = Map[String, Int]("Alice" -> 10, "Blob" -> 20, "Java" -> 30)
    println(map)
  }

}
